package com.zhentao.model.activity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhentao.model.activity.pojo.AdActivity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class JoinDto extends AdActivity {
    private Integer joinStatus;
    private String nickName;
    private Integer activityId;
    private Integer userId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private Date applyTime;

    private String avatarUrl;
}
